From f213cd2240e5c964f868f16cad64997d2c4b7ff9 Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Mon, 23 Aug 2004 15:07:41 +0000 Subject: [PATCH] bitkeeper revision 1.1159.1.96 (412a083dAhGUZb_6ytHtPU56pIh13g) cleanup --- tools/libxc/xc_linux_restore.c | 4 +--- tools/libxc/xc_linux_save.c | 17 ++++++----------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/tools/libxc/xc_linux_restore.c b/tools/libxc/xc_linux_restore.c index 3c984b4f19..fe7522e1ed 100644 --- a/tools/libxc/xc_linux_restore.c +++ b/tools/libxc/xc_linux_restore.c @@ -11,7 +11,7 @@ #define MAX_BATCH_SIZE 1024 -#define DEBUG 1 +#define DEBUG 0 #if DEBUG #define DPRINTF(_f, _a...) printf ( _f , ## _a ) @@ -475,7 +475,6 @@ int xc_linux_restore(int xc_handle, XcIOContext *ioctxt) { if ( pfn_type[i] == (L1TAB|LPINTAB) ) { -printf("XXXXXXXXXXXXXXX pin L1\n"); if ( add_mmu_update(xc_handle, mmu, (pfn_to_mfn_table[i]<nr_pfns ); - if (nr_pfns != p_srec->nr_pfns ) { xcio_error(ioctxt, "Suspend record nr_pfns unexpected (%ld != %ld)", @@ -940,7 +936,6 @@ printf("nrpfns according to suspend record is %ld\n", p_srec->nr_pfns ); goto out; } -printf("Everything saved OK!\n"); out: if ( live_shinfo ) munmap(live_shinfo, PAGE_SIZE); -- 2.30.2